/**
 * file :	wa_define.h
 * author :	bushaofeng
 * created :	2013-03-11 19:55
 * func : 
 */

#ifndef	__WA_DEFINE_H_
#define	__WA_DEFINE_H_


// logic层请求类型
#define REQUEST_TYPE            "method"
#define REQUEST_PARA            "params"

typedef enum{
    REQ_NEWPROJECT = 0,
    REQ_REGISTER, 
    REQ_LOGIN, 
    REQ_GETUSER,
    REQ_MODUSER,
    REQ_GETFANS,
    REQ_ADDFOLLOW,
    REQ_GETFOLLOWS,
    REQ_DELFOLLOW,
    REQ_ADDTOPIC,
    REQ_GETTOPIC,
    REQ_GETTOPICS,
    REQ_DELTOPIC,
    REQ_ADDPOST,
    REQ_GETPOSTS,
    REQ_DELPOST,
    REQ_GETNEARUSERS,
    REQ_GETNEARTOPICS,
    REQ_NUM
}_req_type_t;

#endif
